package com.caption.core.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TCResponse<T> extends BaseResult<T>{
    private Integer code;
    private String message;

    public TCResponse(String interfaceId,String serialNo,Integer code,String message,T data){
        super(interfaceId,serialNo,data);
        this.code=code;
        this.message=message;
    }
}
